const getters = {
  sidebar: state => state.app.sidebar,
  language: state => state.app.language,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  avatar: state => window.application.minio_host + state.user.avatar,
  name: state => state.user.name,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  permission_routes: state => state.permission.routes,
  errorLogs: state => state.errorLog.logs,
  adminInfo: state => state.user.adminInfo,

  /**
   * manage
   */
  adminList: state => state.manage.adminList,
  userList: state => state.manage.userList,

  /**
   * career
   */
  careerList: state => state.career.careerList,
  careerTotal: state => state.career.careerTotal,

  /**
   * company
   */
  companyList: state => state.company.companyList,
  country: state => state.company.country,
  countryVersion2: state => state.company.countryVersion2,
  companyInfoList: state => state.company.companyInfoList,
  companyInfoList_Total: state => state.company.companyInfoList_Total,
  companyInfoByIds: state => state.company.companyInfoByIds,

  /**
   * news
   */
  news: state => state.news.news,
  news_total: state => state.news.news_total,

  /**
   * notice
   */
  notices: state => state.notice.notices,
  notices_total: state => state.notice.notices_total,

  /**
   * resumes
   */
  platforms: state => state.resume.platforms,
  platforms_total: state => state.resume.platforms_total,
  files: state => state.resume.files,
  files_total: state => state.resume.files_total,
  audits: state => state.resume.audits,
  audits_total: state => state.resume.audits_total,
}
export default getters
